const Koa = require("koa")

const app = new Koa();

const staticServer = require('koa-static');

//加载静态文件
app.use(staticServer(__dirname));

console.log(__dirname);

app.listen(8080);

console.log('server is listen 8080');

